package com.zhida.smartcontrol.pagectrl.projectdetail.search.searchdetails;

import com.zhida.smartcontrol.common.bean.LampBean;
import com.zhida.smartcontrol.common.bean.LampSwitchBean;
import com.zhida.smartcontrol.mvp.BasePresenter;
import com.zhida.smartcontrol.mvp.BaseView;

import java.util.List;


public class SearchDetailsContract {
    interface View extends BaseView {
        void showData(LampBean lampBean);
        void showData(LampSwitchBean lampBean);
    }

    interface Presenter extends BasePresenter<View> {
        // 根据设备 ID 获取设备详情
        void requestLampData(String id);

        void runningModel(List<LampBean> codeList, int type);

        void switchRepair(List<LampBean> codeList, int type);

        void resetSwitch(List<LampBean> codeList);
    }
}
